<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<c:if test="${empty jmethod }">
<c:set var="jmethod" value="${param.jmethod }"></c:set></c:if>
<div style="display: block;">
<div style="height: 35px; padding: 3px;"><div class="paginations"><div class="page-bottom"><a href="javascript:void(0);" onclick="javascript:${jmethod}(1);" name="pagebar_frist" class="page-start"><span>首页</span></a><a href="javascript:void(0);" onclick="javascript:${jmethod}(${page.prePage });" name="pagebar_pre" class="page-prev"><span>上一页</span></a><c:forEach var="i" begin="${page.beginPageBarNum }" end="${page.endPageBarNum }">
<c:choose><c:when test="${i eq page.currentPage }"><span class="page-cur">${i }</span></c:when><c:otherwise><a href="javascript:void(0);" onclick="javascript:${jmethod}(${i });">${i }</a></c:otherwise></c:choose></c:forEach><c:if test="${page.endPageBarNum < page.totalPageRows }"><span class="page-break">...</span></c:if><a name="pagebar_next" href="javascript:void(0);" class="page-next" onclick="javascript:${jmethod}(${page.nextPage });"><span>下一页</span></a><a name="pagebar_last" href="javascript:void(0);" class="page-end" onclick="javascript:${jmethod}(${page.totalPageRows });"><span>末页</span></a><span class="page-skip"><span style="margin-top: 2px;" class="inputcheckbox l">共${page.totalPageRows }页 到第 <input type="text" id="pagebar_page_text" size="4" value="${page.currentPage }">页</span><button id="pagebar_go" type="button">确定</button></span></div></div></div>
</div>
<script>$(document).ready(function(){Helper.doms.numberKeyupMinMax($("#pagebar_page_text")[0], 1,${page.totalPageRows});$("#pagebar_go").click(function(){${jmethod}(Helper.getTextInt("pagebar_page_text"));});});</script>